package edu.seu.mart.service;

import edu.seu.mart.model.History;

import java.util.List;

/**
 * Created by samsung on 2015/4/1.
 */
public interface IHistoryService {
    public History load(int id);
    public void add(History history);
    public void delete(int id);
    public void update(History history);
    public void clear();
    public List<History> findHistoryByUserId(int userId);
    public int isBrowsed(int userId, int goodsId);
}
